local upstream = require("ngx.upstream")
local name = upstream.get_upstreams()

local servers , err = upstream.get_servers(ngx.var.app_name)
for i,s in ipairs(servers) do
    for k,v in pairs(s) do
        ngx.say(k, "=",v,";","i =",i)
    end
end
--ngx.say(table.concat(servers))
--ngx.log(ngx.ERR,"-----","upstream",table.concat(names))
ngx.exit(429)